//
//  YWLiveSmallCell.m
//  网易新闻
//
//  Created by Yeewii@hotmail.com on 16/6/29.
//  Copyright © 2016年 Yeewii@hotmail.com. All rights reserved.
//

#import "YWLiveSmallCell.h"
#import <UIImageView+WebCache.h>


@implementation YWLiveSmallCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)setModel:(ZYLiveSpecialextra *)model
{
    _model = model;
    [_bgImage sd_setImageWithURL:[NSURL URLWithString:_model.imgsrc]];
    _titleLabel.text  = _model.title;
    _sourceLabel.text = _model.source;
    _timeLabel.text   = _model.lmodify;
    _statusLabel.text = _model.tAG;
}
@end
